<%--
  Created by IntelliJ IDEA.
  User: sk
  Date: 2018/5/25
  Time: 10:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>测试javascript</title>
</head>
<body>
    <div>
        <input id="demo" type="text" value="0000">

    </div>
    <script>
        var cars = ["baoma","benchi","dazong"];
        document.write(cars.entries().next().value[1]);

    </script>
</body>
</html>
